package cn.broadsense.biz.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author: pengxin
 * @create: 2024-09-10 17:58
 * @Version 1.0
 **/
@Data
@ApiModel(value = "搜索区域参数")
public class SearchChannelVo implements Serializable {


    private static final long serialVersionUID = 1604950259440815813L;

    @ApiModelProperty(value = "经度")
    @NotNull(message = "经度不能为空")
    private Double latitude;
    @NotNull(message = "纬度不能为空")
    @ApiModelProperty(value = "纬度")
    private Double longitude;

    @NotNull(message = "搜索半径不能为空")
    @ApiModelProperty(value = "搜索半径 km")
    private Double radius;
}
